.class public Lcom/instagram/android/fragment/ft;
.super Lcom/instagram/android/fragment/gs;
.source "SelfFragment.java"


# instance fields
.field private ae:Lcom/instagram/android/e/o;

.field private af:Lcom/facebook/b/a/k;

.field private ag:Lcom/facebook/b/a/j;

.field private ah:Lcom/instagram/android/feed/ui/d;

.field private final ai:Lcom/facebook/d/a;


# direct methods
.method public constructor <init>()V
    .locals 1

    .prologue
    .line 25
    invoke-direct {p0}, Lcom/instagram/android/fragment/gs;-><init>()V

    .line 40
    new-instance v0, Lcom/instagram/android/fragment/fu;

    invoke-direct {v0, p0}, Lcom/instagram/android/fragment/fu;-><init>(Lcom/instagram/android/fragment/ft;)V

    iput-object v0, p0, Lcom/instagram/android/fragment/ft;->ai:Lcom/facebook/d/a;

    return-void
.end method

.method private aq()Z
    .locals 1

    .prologue
    .line 179
    invoke-virtual {p0}, Lcom/instagram/android/fragment/ft;->am()Lcom/instagram/android/model/b/e;

    move-result-object v0

    invoke-virtual {v0}, Lcom/instagram/android/model/b/e;->r()Ljava/lang/Integer;

    move-result-object v0

    .line 180
    if-eqz v0, :cond_0

    invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I

    move-result v0

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/instagram/android/fragment/ft;->ah:Lcom/instagram/android/feed/ui/d;

    if-nez v0, :cond_0

    const/4 v0, 0x1

    :goto_0
    return v0

    :cond_0
    const/4 v0, 0x0

    goto :goto_0
.end method

.method private ar()V
    .locals 2

    .prologue
    .line 184
    new-instance v1, Lcom/instagram/android/feed/ui/d;

    invoke-virtual {p0}, Lcom/instagram/android/fragment/ft;->v()Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/view/ViewGroup;

    invoke-direct {v1, v0}, Lcom/instagram/android/feed/ui/d;-><init>(Landroid/view/ViewGroup;)V

    iput-object v1, p0, Lcom/instagram/android/fragment/ft;->ah:Lcom/instagram/android/feed/ui/d;

    .line 185
    iget-object v0, p0, Lcom/instagram/android/fragment/ft;->ah:Lcom/instagram/android/feed/ui/d;

    invoke-virtual {v0}, Lcom/instagram/android/feed/ui/d;->a()V

    .line 186
    return-void
.end method

.method private as()V
    .locals 1

    .prologue
    .line 189
    iget-object v0, p0, Lcom/instagram/android/fragment/ft;->ah:Lcom/instagram/android/feed/ui/d;

    invoke-virtual {v0}, Lcom/instagram/android/feed/ui/d;->b()V

    .line 190
    const/4 v0, 0x0

    iput-object v0, p0, Lcom/instagram/android/fragment/ft;->ah:Lcom/instagram/android/feed/ui/d;

    .line 191
    return-void
.end method


# virtual methods
.method public a(Landroid/view/ViewGroup;)Landroid/view/View;
    .locals 3
    .parameter

    .prologue
    .line 105
    invoke-virtual {p0}, Lcom/instagram/android/fragment/ft;->getContext()Landroid/content/Context;

    move-result-object v0

    invoke-static {v0}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object v0

    sget v1, Lcom/facebook/ax;->load_more_empty_self:I

    const/4 v2, 0x0

    invoke-virtual {v0, v1, p1, v2}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;Z)Landroid/view/View;

    move-result-object v0

    return-object v0
.end method

.method public a()Lcom/instagram/a/a;
    .locals 1

    .prologue
    .line 112
    new-instance v0, Lcom/instagram/android/fragment/fv;

    invoke-direct {v0, p0}, Lcom/instagram/android/fragment/fv;-><init>(Lcom/instagram/android/fragment/ft;)V

    return-object v0
.end method

.method public a(IILandroid/content/Intent;)V
    .locals 1
    .parameter
    .parameter
    .parameter

    .prologue
    .line 164
    invoke-super {p0, p1, p2, p3}, Lcom/instagram/android/fragment/gs;->a(IILandroid/content/Intent;)V

    .line 165
    iget-object v0, p0, Lcom/instagram/android/fragment/ft;->ae:Lcom/instagram/android/e/o;

    invoke-virtual {v0, p1, p2, p3}, Lcom/instagram/android/e/o;->a(IILandroid/content/Intent;)V

    .line 166
    return-void
.end method

.method public a(Landroid/os/Bundle;)V
    .locals 3
    .parameter

    .prologue
    .line 50
    invoke-super {p0, p1}, Lcom/instagram/android/fragment/gs;->a(Landroid/os/Bundle;)V

    .line 52
    new-instance v0, Lcom/instagram/android/e/o;

    invoke-direct {v0, p0, p1}, Lcom/instagram/android/e/o;-><init>(Landroid/support/v4/app/Fragment;Landroid/os/Bundle;)V

    iput-object v0, p0, Lcom/instagram/android/fragment/ft;->ae:Lcom/instagram/android/e/o;

    .line 56
    invoke-virtual {p0}, Lcom/instagram/android/fragment/ft;->Y()Lcom/instagram/android/feed/a/a;

    move-result-object v0

    check-cast v0, Lcom/instagram/android/feed/a/o;

    invoke-virtual {p0}, Lcom/instagram/android/fragment/ft;->j()Landroid/support/v4/app/j;

    move-result-object v1

    invoke-virtual {v1}, Landroid/support/v4/app/j;->getParent()Landroid/app/Activity;

    move-result-object v1

    check-cast v1, Lcom/instagram/android/activity/MainTabActivity;

    invoke-virtual {v1}, Lcom/instagram/android/activity/MainTabActivity;->b()I

    move-result v1

    invoke-virtual {v0, v1}, Lcom/instagram/android/feed/a/o;->g(I)V

    .line 60
    new-instance v0, Lcom/facebook/b/a/k;

    invoke-virtual {p0}, Lcom/instagram/android/fragment/ft;->getContext()Landroid/content/Context;

    move-result-object v1

    invoke-direct {v0, v1}, Lcom/facebook/b/a/k;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/instagram/android/fragment/ft;->af:Lcom/facebook/b/a/k;

    .line 61
    iget-object v0, p0, Lcom/instagram/android/fragment/ft;->af:Lcom/facebook/b/a/k;

    invoke-virtual {v0}, Lcom/facebook/b/a/k;->a()Lcom/facebook/b/a/i;

    move-result-object v0

    const-string v1, "SelfFragment.BROADCAST_NEW_PHOTOS_OF_YOU"

    iget-object v2, p0, Lcom/instagram/android/fragment/ft;->ai:Lcom/facebook/d/a;

    invoke-interface {v0, v1, v2}, Lcom/facebook/b/a/i;->a(Ljava/lang/String;Lcom/facebook/d/a;)Lcom/facebook/b/a/i;

    move-result-object v0

    invoke-interface {v0}, Lcom/facebook/b/a/i;->a()Lcom/facebook/b/a/j;

    move-result-object v0

    iput-object v0, p0, Lcom/instagram/android/fragment/ft;->ag:Lcom/facebook/b/a/j;

    .line 65
    iget-object v0, p0, Lcom/instagram/android/fragment/ft;->ag:Lcom/facebook/b/a/j;

    invoke-interface {v0}, Lcom/facebook/b/a/j;->b()V

    .line 66
    return-void
.end method

.method protected ak()V
    .locals 1

    .prologue
    .line 70
    invoke-super {p0}, Lcom/instagram/android/fragment/gs;->ak()V

    .line 72
    invoke-direct {p0}, Lcom/instagram/android/fragment/ft;->aq()Z

    move-result v0

    if-eqz v0, :cond_1

    invoke-virtual {p0}, Lcom/instagram/android/fragment/ft;->v()Landroid/view/View;

    move-result-object v0

    if-eqz v0, :cond_1

    .line 73
    invoke-direct {p0}, Lcom/instagram/android/fragment/ft;->ar()V

    .line 77
    :cond_0
    :goto_0
    return-void

    .line 74
    :cond_1
    iget-object v0, p0, Lcom/instagram/android/fragment/ft;->ah:Lcom/instagram/android/feed/ui/d;

    if-eqz v0, :cond_0

    invoke-virtual {p0}, Lcom/instagram/android/fragment/ft;->am()Lcom/instagram/android/model/b/e;

    move-result-object v0

    invoke-virtual {v0}, Lcom/instagram/android/model/b/e;->r()Ljava/lang/Integer;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I

    move-result v0

    if-lez v0, :cond_0

    .line 75
    invoke-direct {p0}, Lcom/instagram/android/fragment/ft;->as()V

    goto :goto_0
.end method

.method protected al()V
    .locals 1

    .prologue
    .line 100
    invoke-static {}, Lcom/instagram/service/a;->a()Lcom/instagram/service/a;

    move-result-object v0

    invoke-virtual {v0}, Lcom/instagram/service/a;->b()Lcom/instagram/android/model/b/e;

    move-result-object v0

    iput-object v0, p0, Lcom/instagram/android/fragment/ft;->ad:Lcom/instagram/android/model/b/e;

    .line 101
    return-void
.end method

.method public d_()Ljava/lang/String;
    .locals 1

    .prologue
    .line 195
    const-string v0, "self_profile"

    return-object v0
.end method

.method public e(Landroid/os/Bundle;)V
    .locals 1
    .parameter

    .prologue
    .line 94
    invoke-super {p0, p1}, Lcom/instagram/android/fragment/gs;->e(Landroid/os/Bundle;)V

    .line 95
    iget-object v0, p0, Lcom/instagram/android/fragment/ft;->ae:Lcom/instagram/android/e/o;

    invoke-virtual {v0, p1}, Lcom/instagram/android/e/o;->a(Landroid/os/Bundle;)V

    .line 96
    return-void
.end method

.method public g_()V
    .locals 1

    .prologue
    .line 81
    invoke-super {p0}, Lcom/instagram/android/fragment/gs;->g_()V

    .line 82
    const/4 v0, 0x0

    iput-object v0, p0, Lcom/instagram/android/fragment/ft;->ah:Lcom/instagram/android/feed/ui/d;

    .line 83
    return-void
.end method

.method public l_()V
    .locals 2

    .prologue
    .line 159
    iget-object v0, p0, Lcom/instagram/android/fragment/ft;->ae:Lcom/instagram/android/e/o;

    invoke-virtual {p0}, Lcom/instagram/android/fragment/ft;->getContext()Landroid/content/Context;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/instagram/android/e/o;->a(Landroid/content/Context;)V

    .line 160
    return-void
.end method

.method public w()V
    .locals 2

    .prologue
    .line 170
    invoke-super {p0}, Lcom/instagram/android/fragment/gs;->w()V

    .line 171
    iget-object v0, p0, Lcom/instagram/android/fragment/ft;->af:Lcom/facebook/b/a/k;

    const-string v1, "SelfFragment.BROADCAST_SELF_PROFILE_SHOWN"

    invoke-virtual {v0, v1}, Lcom/facebook/b/a/k;->a(Ljava/lang/String;)V

    .line 173
    invoke-direct {p0}, Lcom/instagram/android/fragment/ft;->aq()Z

    move-result v0

    if-eqz v0, :cond_0

    .line 174
    invoke-direct {p0}, Lcom/instagram/android/fragment/ft;->ar()V

    .line 176
    :cond_0
    return-void
.end method

.method public y()V
    .locals 1

    .prologue
    .line 87
    invoke-super {p0}, Lcom/instagram/android/fragment/gs;->y()V

    .line 89
    iget-object v0, p0, Lcom/instagram/android/fragment/ft;->ag:Lcom/facebook/b/a/j;

    invoke-interface {v0}, Lcom/facebook/b/a/j;->c()V

    .line 90
    return-void
.end method
